package com.atguigu.edu.service;

import com.atguigu.edu.entity.EduCourse;
import com.atguigu.edu.entity.vo.EduCourseVo;
import com.atguigu.edu.entity.vo.EduCoursePublishVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author alexzshl
 * @since 2021-05-04
 */
public interface EduCourseService extends IService<EduCourse> {

    EduCourseVo saveCourseInfo(EduCourseVo courseInfo);

    EduCourseVo getCourseInfo(String courseId);

    Boolean updateCourseInfo(EduCourseVo courseInfo);



    EduCoursePublishVo getEduCoursePublishVoById(String courseId);

    List<EduCoursePublishVo> getCourseList();

    List<EduCoursePublishVo> getCourseListPage(Integer current, Integer limit);
}
